home *** CD-ROM | disk | FTP | other *** search
/ Total Web Page (Professional Suite) / Total Web Page 99.iso / Utilities / utils / convert.txt < prev    next >
Text File  |  1998-10-30  |  3KB  |  76 lines

  1. Use this program to automatically convert an <OBJECT> tag for IE only into
  2. a <OBJECT>/<EMBED> tag for both IE and Netscape.  You could just as easily
  3. copy and paste this with a text editor instead.  Notice the difference
  4. in "Browser" parameter and the format for the ImageSrc.
  5. See FAQ for more information.
  6.  
  7. Sample Input Document(IE Only):
  8. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  9.  
  10. <HTML>
  11. <BODY>
  12.  
  13. <OBJECT ID="IntraLaunch" WIDTH=65 HEIGHT=77 CLASSID="CLSID:072CB141-B793-11D1-89B6-0020182C1446" CODEBASE="file:///C:\IntraLaunch\sample\IntraLaunch.CAB#version=2,1,0,1">
  14.    <PARAM NAME="_ExtentX" VALUE="2240">
  15.    <PARAM NAME="_ExtentY" VALUE="1963">
  16.    <PARAM NAME="ImageLoc" VALUE="Local">
  17.    <PARAM NAME="ImageSrc" VALUE="F:\intranet\web\somepic.jpg">
  18.    <PARAM NAME="Run" VALUE="c:\MicrosoftWord\word.exe">
  19.    <PARAM NAME="RunParms" VALUE="">
  20.    <PARAM NAME="DefDir" VALUE="C:\">
  21.    <PARAM NAME="Display" VALUE="MAX">
  22.    <PARAM NAME="UsePassword" VALUE="FALSE">
  23.    <PARAM NAME="Password" VALUE="0000000000000000">
  24.    <PARAM NAME="Sound" VALUE="None">
  25.    <PARAM NAME="Pause" VALUE="0">
  26.    <PARAM NAME="IsURL" VALUE="FALSE">
  27. </OBJECT>
  28. </HTML>
  29. </BODY>
  30.  
  31. Sample Output Document(IE & Netscape/ScriptActive):
  32. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  33.  
  34. <HTML>
  35. <BODY>
  36. <OBJECT ID="IntraLaunch" WIDTH=65 HEIGHT=77 CLASSID="CLSID:072CB141-B793-11D1-89B6-0020182C1446" CODEBASE="file:///C:\IntraLaunch\sample\IntraLaunch.CAB#version=2,1,0,1">
  37.    <PARAM NAME="_ExtentX" VALUE="2240">
  38.    <PARAM NAME="_ExtentY" VALUE="1963">
  39.    <PARAM NAME="ImageLoc" VALUE="Local">
  40.    <PARAM NAME="ImageSrc" VALUE="F:\intranet\web\somepic.jpg">
  41.    <PARAM NAME="Run" VALUE="c:\MicrosoftWord\word.exe">
  42.    <PARAM NAME="RunParms" VALUE="">
  43.    <PARAM NAME="DefDir" VALUE="C:\">
  44.    <PARAM NAME="Display" VALUE="MAX">
  45.    <PARAM NAME="UsePassword" VALUE="FALSE">
  46.    <PARAM NAME="Password" VALUE="0000000000000000">
  47.    <PARAM NAME="Sound" VALUE="None">
  48.    <PARAM NAME="Pause" VALUE="0">
  49.    <PARAM NAME="IsURL" VALUE="FALSE">
  50. <EMBED NAME="IntraLaunch" WIDTH=65 HEIGHT=77 CLASSID="CLSID:072CB141-B793-11D1-89B6-0020182C1446" CODEBASE="file:///C:\IntraLaunch\sample\IntraLaunch.CAB#version=2,1,0,1" TYPE="application/oleobject"
  51.   PARAM__ExtentX="2240"
  52.   PARAM__ExtentY="1963"
  53.   PARAM_ImageLoc="Local"
  54.   PARAM_ImageSrc="F:\intranet\web\somepic.jpg"
  55.   PARAM_Run="c:\MicrosoftWord\word.exe"
  56.   PARAM_RunParms=""
  57.   PARAM_DefDir="C:\"
  58.   PARAM_Display="MAX"
  59.   PARAM_UsePassword="FALSE"
  60.   PARAM_Password="0000000000000000"
  61.   PARAM_Sound="None"
  62.   PARAM_Pause="0"
  63.   PARAM_IsURL="FALSE"
  64. ></OBJECT>
  65. </HTML>
  66. </BODY>
  67.  
  68.  
  69. Note: The "ImageLoc" parameter must be manually changed to
  70. "Local" for Netscape, The "Remote" getting of graphics will not
  71. work due to a ScriptActive limitation.  Therefor the "ImageSrc"
  72. parameter can't be a URL, it must be an absolute file path.
  73. See FAQ for more info.
  74.  
  75.  
  76.